package com.shiro.test.mvc.service;

import com.shiro.test.mvc.pojo.LeaveApply;

import java.util.List;

public interface ILeaveApplyService extends IBaseService<LeaveApply>{

    void addLeaveApply(LeaveApply leaveApply);

    List<LeaveApply> getLeaveList(LeaveApply criteria);

    List<LeaveApply> getLeaveTaskList(int userId);

    void updateLeave(LeaveApply leaveApply);

    void updateTask(LeaveApply leaveApply, Integer userId);

    void updateTaskResubmit(LeaveApply leaveApply);

}